{include file="../application/api/view/layout/header.html" /}
{if condition="($toLan == 'zh')"}
<link rel="stylesheet" href="../css/detail.css">
{else /}
<link rel="stylesheet" href="../css/exzh/detail.css">
{/if}

<!--弹出层-->
<div id="showBox" style="display: none;">
  <div class="innerWrap">
    <iframe id="showBoxVideoIframe" style="display: none;" src="" title="Tensile strength test" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
    </iframe>
    <img id="showBoxImg" src="" style="display: none;" width="100%" />
  </div>
</div>
<!--弹出层-->

<!-- 滚动基础信息 -->
<div class="productCenter w100 flex justify-content-center">
  <div class="w1200">
    <div class="headBox">
      <div>
        <span class="leftText">
          <a href="./center-1-1-1.html">
            <?php echo translate('产品中心','zh',$toLan);?>
          </a>
        </span>
        <span class="slash">/</span>
        <span class="rightText">
          <a href="./center-{$cateOne}-1-1.html">
            <?php echo translate($obj['category'][1],$fromLan,$toLan);?>
          </a>
        </span>
        <span class="slash">/</span>
        <span class="rightText">
          <a href="./center-{$cateOne}-{$cateTwo}-1.html">
            <?php if(isset($obj['category'][2])){echo translate($obj['category'][2],$fromLan,$toLan);}?>
          </a>
        </span>
        <!-- <span class="rightText">
          <a href="#"><?php echo translate($obj['product_name'],$fromLan,$toLan);?></a>
        </span> -->
      </div>
      <h3>
        <?php echo translate($obj['product_name'],$fromLan,$toLan);?>
      </h3>
    </div>

    <div class="infoBox flex-row">
      <div class="infoLeft">
        <div style="--swiper-navigation-color: #fff; --swiper-pagination-color: #fff" class="swiper mySwiper2">
          <div class="swiper-wrapper">
            {volist name="obj.banner" id="vo"}
            <div class="swiper-slide">
              <img class="bigImg showModelBtn" src="{$vo.img}" alt="title" type="{$vo.type}" media="{$vo.link}">
            </div>
            {/volist}
          </div>
        </div>
        <div thumbsSlider="" class="swiper">
          <div class="mySwiper">
            <div class="swiper-wrapper">
              {volist name="obj.banner" id="vo"}
              <div class="swiper-slide">
                <img src="{$vo.img}" alt="{if isset($vo['title'])}<?php echo translate($vo['title'],$fromLan,$toLan);?>{/if}">
              </div>
              {/volist}
            </div>
          </div>
          <div class="swiper-button-next arrowLeft">
            <img src="/img/detail/rightarrow.png?x-oss-process=image/format,webp/quality,Q_75" alt="left">
          </div>
          <div class="swiper-button-prev arrowRight">
            <img src="/img/detail/leftarrow.png?x-oss-process=image/format,webp/quality,Q_75" alt="right">
          </div>
        </div>
      </div>
      <div class="infoRight flex-column">
        {volist name="obj.attributes" id="vo"}
        <div class="infoText">
          <?php echo translate($vo['name'],$fromLan,$toLan);?>:
          <?php echo translate($vo['value'],$fromLan,$toLan);?>
        </div>
        {/volist}
        <div class="wxImg flex-row">
          <a aria-label="Chat on WhatsApp" href="https://wa.me/8618610914775">
            <img class="wxImgLeft" alt="Chat on WhatsApp" src="/img/detail/img8.png?x-oss-process=image/format,webp/quality,Q_75" />
          </a>
          <div class="line"></div>
          <a aria-label="Chat on WhatsApp" href="#" id="wxBtn">
            <img class="wxImgRight" alt="Chat on WhatsApp" src="/img/detail/img9.png?x-oss-process=image/format,webp/quality,Q_75">
          </a>
          <div id="wxDialog">
            <img alt="wechat" src="/img/detail/8247467.png?x-oss-process=image/format,webp/quality,Q_75" />
          </div>
        </div>
        <div class="btnOutBox">
          <button class="btn">Get a price</button>
        </div>
        <div class="flex-row align-items-center share">
          <a href="#" id="downloadPrint">
            <img class="iconImg" src="/img/detail/fenxiang.png?x-oss-process=image/format,webp/quality,Q_75" alt="">
            <span class="label">Document Down</span>
          </a>
          <a href="#" id="doPrint">
            <img class="iconImg" src="/img/detail/fenxiang.png?x-oss-process=image/format,webp/quality,Q_75" alt="">
            <span class="label">Print</span>
          </a>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- 滚动基础信息结束 -->

<!-- Product Detail 产品详情 -->
<div id="print-box">
<div class="productCenterTwo w100 flex-column align-items-center">
  <div class="w1200 flex-row space-between contentOne">
    <div class="infoLeft">
      <!-- Product Detail -->
      <article>
        <div class="btnBox flex-row">
          <a id="detail" name="detail" class="anchor">&nbsp;</a>
          <a class="active" href="#detail">Product Detail</a>
          <a href="#technical">Technical Information</a>
          <a href="#inspection">Inspection</a>
          <a href="#packaging">Packaging</a>
        </div>
        <div class="textContent">
          <p>
            <?php echo translate_company($obj['detail']['des'],$fromLan,$toLan);?>
          </p>
        </div>
        {volist name="obj.detail.paragraph" id="vo" key="pkey"}
        {if $pkey % 2 == 0}
        <div class="detailText w100 flex-row">
          <div class="leftText">
            <h2>
              <?php echo translate($vo['title'],$fromLan,$toLan);?>
            </h2>
            <div class="mt32">
              {volist name="vo.attributes" id="attr"}
              {if !isset($attr['-'])}
              <p> {switch $vo.listType}
                {case value="line"}-{/case}
                {case value="none"}{/case}
                {default /}{$vo.listType}
                {/switch} {if strpos($attr['name'],'没有') === false}
                <?php echo translate($attr['name'],$fromLan,$toLan);?>:{/if}
                <?php echo translate($attr['value'],$fromLan,$toLan);?>
              </p>
              {/if}
              {/volist}
            </div>
          </div>
          <div class="rightImg">
            <img src="{$vo.banner.img|default='/img/detail/img1.png'}" alt="img1" class="showModelBtn" type="{$vo.banner.type|default='img'}" media="{$vo.banner.link|default='https://gd-hbimg.huaban.com/f7738787dc736bf4c37a0d0168a9175a36f72759824f3-Cjoty7_fw1200'}">
          </div>
        </div>
        {else /}
        <div class="detailText w100 flex-row">
          <div class="rightImg m0 pc">
            <img src="{$vo.banner.img|default='/img/detail/img1.png'}" alt="img1" class="showModelBtn" type="{$vo.banner.type|default='img'}" media="{$vo.banner.link|default='https://gd-hbimg.huaban.com/f7738787dc736bf4c37a0d0168a9175a36f72759824f3-Cjoty7_fw1200'}">
          </div>
          <div class="leftText ml30">
            <h2>
              <?php echo translate($vo['title'],$fromLan,$toLan);?>
            </h2>
            <div class="mt32">
              {volist name="vo.attributes" id="attr"}
              {if !isset($attr['-'])}
              <p> {switch $vo.listType}
                {case value="line"}-{/case}
                {case value="none"}{/case}
                {default /}{$vo.listType}
                {/switch} {if strpos($attr['name'],'没有') === false}
                <?php echo translate($attr['name'],$fromLan,$toLan);?>:{/if}
                <?php echo translate($attr['value'],$fromLan,$toLan);?>
              </p>
              {/if}
              {/volist}
            </div>
          </div>
          <div class="rightImg m0 moble">
            <img src="{$vo.banner.img|default='/img/detail/img1.png'}" alt="img1" class="showModelBtn" type="{$vo.banner.type|default='img'}" media="{$vo.banner.link|default='https://gd-hbimg.huaban.com/f7738787dc736bf4c37a0d0168a9175a36f72759824f3-Cjoty7_fw1200'}">
          </div>
        </div>
        {/if}
        {/volist}
      </article>

    </div>
    <div class="infoRight">
      <a href="./product.html" class="title">
        <?php echo translate('Case Study',$fromLan,$toLan);?>
      </a>
      <div class="line"></div>
      <p>Products & Service</p>
      <div class="selectBox">
        <select name="mySelect" id="select" class="selectCoil">
          <option value="coil">
            <?php echo translate('成卷','zh',$toLan);?>
          </option>
          <option value="sharped">
            <?php echo translate('异形','zh',$toLan);?>
          </option>
        </select>
      </div>
      <div class="line"></div>
      <p class="mt12 customMt">Related Products</p>
      <div id="proCoil">
        {volist name="productBannersRelatedJuan" id="vo"}
        <a href="{$vo.url}">
          <img src="{$vo.img}" alt="<?php echo translate($vo['title'],$fromLan,$toLan);?>">
          <p class="imgText">
            <?php echo translate($vo['title'],$fromLan,$toLan);?>
          </p>
        </a>
        {/volist}
      </div>
      <div id="proSharp" style="display: none;">
        {volist name="productBannersRelatedYi" id="vo"}
        <a href="{$vo.url}">
          <img src="{$vo.img}" alt="<?php echo translate($vo['title'],$fromLan,$toLan);?>">
          <p class="imgText">
            <?php echo translate($vo['title'],$fromLan,$toLan);?>
          </p>
        </a>
        {/volist}
      </div>
    </div>
  </div>
</div>
<!-- Product Detail 产品详情结束 -->

<!-- Technical Information 技术说明 -->
<div class="productCenterThree">
  <div class="w1200 container flex-column">
    <div class="w100 btnBox flex-row justify-content-center">
      <a id="technical" name="technical" class="anchor">&nbsp;</a>
      <a href="#detail">Product Detail</a>
      <a href="#technical" class="active">Technical Information</a>
      <a href="#inspection">Inspection</a>
      <a href="#packaging">Packaging</a>
    </div>
    <div class="videoWrap">
      {volist name="obj.technical.process" id="vo"}
      <a href="#" media="{$vo.link|default='/img/detail/technology_01.jpg'}">
        <img src="{$vo.img|default='/img/detail/technology_01.jpg'}" alt="<?php echo translate($vo['title'],$fromLan,$toLan);?>" />
        <h4>
          <?php echo translate(str_replace('腌制和磷化','酸洗和磷化',$vo['title']),$fromLan,$toLan);?>
        </h4>
      </a>
      {/volist}
    </div>
    <section class="information">
      {volist name="obj.technical.information" id="vo"}
      <article>
        <h3>
          <?php echo translate($vo['title'],$fromLan,$toLan);?>
        </h3>
        {if isset($vo['content'])}
        {volist name="vo.content" id="voo"}
        <div class="des">
          <h4>
            <?php echo translate($voo['title'],$fromLan,$toLan);?>
          </h4>
          <p class="tips">
            <?php echo translate($voo['tips'],$fromLan,$toLan);?>
          </p>
          <div class="table-box">
            {$voo.table}
          </div>
          <div class="des">
            <?php echo translate($voo['des'],$fromLan,$toLan);?>
          </div>
        </div>
        {/volist}
        {/if}
      </article>
      {/volist}
    </section>
  </div>
</div>
<!-- Technical Information 技术说明结束 -->

<!-- Inspection 质量检测 -->
<!-- 成卷线材 -->
{if $obj.category.0 eq '线圈'}
<div class="productCenterThree">
  <div class="w1200 container flex-column">
    <div class="w100 btnBox flex-row justify-content-center">
      <a id="inspection" name="inspection" class="anchor">&nbsp;</a>
      <a href="#detail">Product Detail</a>
      <a href="#technical">Technical Information</a>
      <a href="#inspection" class="active">Inspection</a>
      <a href="#packaging">Packaging</a>
    </div>
    <div class="videoWrap smallFont">
      {if condition="($toLan == 'zh')"}
        <a href="#" media="https://player.youku.com/embed/XNjQ0MDkzMTAwMA==">
          <img src="/img/detail/inspection_01_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-泡酸','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-泡酸','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQ0MDkzMjQ2NA==">
          <img src="/img/detail/inspection_01_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-现场','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-现场','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQ0MjUzOTA3Ng==">
          <img src="/img/detail/inspection_02_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('冷顶锻-饼图','zh',$toLan);?>" />
          <h4>
            <?php echo translate('冷顶锻-饼图','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQ0MjUzOTA1Ng==">
          <img src="/img/detail/inspection_02_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('冷顶锻','zh',$toLan);?>" />
          <h4>
            <?php echo translate('冷顶锻','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTQ2MA==">
          <img src="/img/detail/inspection_03_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-100倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-100倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTQ4NA==">
          <img src="/img/detail/inspection_03_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-500倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-500倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTQ4NA==">
          <img src="/img/detail/inspection_03_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTc1Mg==">
          <img src="/img/detail/inspection_04.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('力学性能检测-拉伸试验','zh',$toLan);?>" />
          <h4>
            <?php echo translate('力学性能检测-拉伸试验','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzNjQxNg==">
          <img src="/img/detail/inspection_05_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-布氏硬度代用图','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-布氏硬度代用图','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzNjQxNg==">
          <img src="/img/detail/inspection_05_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-洛氏硬度','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-洛氏硬度','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzNjQxNg==">
          <img src="/img/detail/inspection_05_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-维氏硬度','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-维氏硬度','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQzNzg0NjcwMA==">
          <img src="/img/detail/inspection_06.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQ0MDkzMzk4NA==">
          <img src="/img/detail/inspection_07.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQ0Mjc2MA==">
          <img src="/img/detail/inspection_08.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('尺寸-千分尺','zh',$toLan);?>" />
          <h4>
            <?php echo translate('尺寸-千分尺','zh',$toLan);?>
          </h4>
        </a>
      {else /}
        <a href="#" media="https://www.youtube.com/embed/i77tADXIxTo">
          <img src="/img/detail/inspection_01_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-泡酸','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-泡酸','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/Jt0Ao0blYzE">
          <img src="/img/detail/inspection_01_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-现场','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-现场','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/9oESptRiM8o">
          <img src="/img/detail/inspection_02_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('冷顶锻-饼图','zh',$toLan);?>" />
          <h4>
            <?php echo translate('冷顶锻-饼图','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/bo1UcRSYDMQ">
          <img src="/img/detail/inspection_02_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('冷顶锻','zh',$toLan);?>" />
          <h4>
            <?php echo translate('冷顶锻','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/_0Z1G1th5lI">
          <img src="/img/detail/inspection_03_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-100倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-100倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/YrJLHxpVU9I">
          <img src="/img/detail/inspection_03_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-500倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-500倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/HPtw2stCUKg">
          <img src="/img/detail/inspection_03_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/UrtsH09R_Ao">
          <img src="/img/detail/inspection_04.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('力学性能检测-拉伸试验','zh',$toLan);?>" />
          <h4>
            <?php echo translate('力学性能检测-拉伸试验','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzNjQxNg==">
          <img src="/img/detail/inspection_05_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-布氏硬度代用图','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-布氏硬度代用图','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/LdCQPRHmm7w">
          <img src="/img/detail/inspection_05_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-洛氏硬度','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-洛氏硬度','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/WpzKZYUJ-U8">
          <img src="/img/detail/inspection_05_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-维氏硬度','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-维氏硬度','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/v5fWHaRuBy8">
          <img src="/img/detail/inspection_06.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/FuzhdFe0Yvk">
          <img src="/img/detail/inspection_07.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/NPfmNfx1Lyw">
          <img src="/img/detail/inspection_08.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('尺寸-千分尺','zh',$toLan);?>" />
          <h4>
            <?php echo translate('尺寸-千分尺','zh',$toLan);?>
          </h4>
        </a>
      {/if}
    </div>
  </div>
</div>
{else /}
<!-- 异形线材 -->
<div class="productCenterThree">
  <div class="w1200 container flex-column">
    <div class="w100 btnBox flex-row justify-content-center">
      <a id="inspection" name="inspection" class="anchor">&nbsp;</a>
      <a href="#detail">Product Detail</a>
      <a href="#technical">Technical Information</a>
      <a href="#inspection" class="active">Inspection</a>
      <a href="#packaging">Packaging</a>
    </div>
    <div class="videoWrap smallFont">
      {if condition="($toLan == 'zh')"}
        <a href="#" media="https://player.youku.com/embed/XNjQwNDUzOTU0OA==">
          <img src="/img/detail/inspection_01_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-泡酸','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-泡酸','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTIxMjExNg==">
          <img src="/img/detail/inspection_01_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-现场','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-现场','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTIxMjExNg==">
          <img src="/img/detail/inspection_02_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('冷顶锻-饼图','zh',$toLan);?>" />
          <h4>
            <?php echo translate('冷顶锻-饼图','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTQ2MA==">
          <img src="/img/detail/inspection_03_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="?php echo translate('金相检测-100倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-100倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTQ4NA==">
          <img src="/img/detail/inspection_03_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-500倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-500倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMTQ4NA==">
          <img src="/img/detail/inspection_03_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzMDE0OA==">
          <img src="/img/detail/inspection_04.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="力学性能检测-拉伸试验" />
          <h4>
            <?php echo translate('力学性能检测-拉伸试验','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzNjQxNg==">
          <img src="/img/detail/inspection_05_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-HRC-洛氏','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-HRC-洛氏','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTIxMjExNg==">
          <img src="/img/detail/inspection_05_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-HRB','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-HRB','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQzNjQxNg==">
          <img src="/img/detail/inspection_05_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-HV-维氏','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-HV-维氏','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTIxMjExNg==">
          <img src="/img/detail/inspection_06.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTIxMjExNg==">
          <img src="/img/detail/inspection_07.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQxMTQ0Mjc2MA==">
          <img src="/img/detail/inspection_08.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('尺寸-千分尺','zh',$toLan);?>" />
          <h4>
            <?php echo translate('尺寸-千分尺','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="/">
          <img src="/img/detail/inspection_12.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('断面形状检查','zh',$toLan);?>" />
          <h4>
            <?php echo translate('断面形状检查','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQwNDUzOTU0OA==">
          <img src="/img/detail/inspection_10.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('耐腐蚀测试','zh',$toLan);?>" />
          <h4>
            <?php echo translate('耐腐蚀测试','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://player.youku.com/embed/XNjQwNDUzOTU0OA==">
          <img src="/img/detail/inspection_11_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('表面粗糙度测试','zh',$toLan);?>" />
          <h4>
            <?php echo translate('表面粗糙度测试','zh',$toLan);?>
          </h4>
        </a>
      {else /}
        <a href="#" media="https://www.youtube.com/embed/i77tADXIxTo">
          <img src="/img/detail/inspection_01_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-泡酸','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-泡酸','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/Jt0Ao0blYzE">
          <img src="/img/detail/inspection_01_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('外观检测-现场','zh',$toLan);?>" />
          <h4>
            <?php echo translate('外观检测-现场','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/bo1UcRSYDMQ">
          <img src="/img/detail/inspection_02_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('冷顶锻-饼图','zh',$toLan);?>" />
          <h4>
            <?php echo translate('冷顶锻-饼图','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/_0Z1G1th5lI">
          <img src="/img/detail/inspection_03_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="?php echo translate('金相检测-100倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-100倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/YrJLHxpVU9I">
          <img src="/img/detail/inspection_03_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-500倍金相','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-500倍金相','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/HPtw2stCUKg">
          <img src="/img/detail/inspection_03_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>" />
          <h4>
            <?php echo translate('金相检测-检测设备图基恩士金相仪','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/UrtsH09R_Ao">
          <img src="/img/detail/inspection_04.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="力学性能检测-拉伸试验" />
          <h4>
            <?php echo translate('力学性能检测-拉伸试验','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/WpzKZYUJ-U8">
          <img src="/img/detail/inspection_05_1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-HRC-洛氏','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-HRC-洛氏','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/LdCQPRHmm7w">
          <img src="/img/detail/inspection_05_2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-HRB','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-HRB','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/CoOaQUDK1SQ">
          <img src="/img/detail/inspection_05_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('硬度测试-HV-维氏','zh',$toLan);?>" />
          <h4>
            <?php echo translate('硬度测试-HV-维氏','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/v5fWHaRuBy8">
          <img src="/img/detail/inspection_06.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('化学成分-光谱仪照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/FuzhdFe0Yvk">
          <img src="/img/detail/inspection_07.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>" />
          <h4>
            <?php echo translate('皮膜测试-电镜照片','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/NPfmNfx1Lyw">
          <img src="/img/detail/inspection_08.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('尺寸-千分尺','zh',$toLan);?>" />
          <h4>
            <?php echo translate('尺寸-千分尺','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" >
          <img src="/img/detail/inspection_12.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('断面形状检查','zh',$toLan);?>" />
          <h4>
            <?php echo translate('断面形状检查','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" >
          <img src="/img/detail/inspection_10.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('耐腐蚀测试','zh',$toLan);?>" />
          <h4>
            <?php echo translate('耐腐蚀测试','zh',$toLan);?>
          </h4>
        </a>
        <a href="#" media="https://www.youtube.com/embed/g_eQYEGE274">
          <img src="/img/detail/inspection_11_3.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="<?php echo translate('表面粗糙度测试','zh',$toLan);?>" />
          <h4>
            <?php echo translate('表面粗糙度测试','zh',$toLan);?>
          </h4>
        </a>
      {/if}
    </div>
  </div>
</div>
{/if}
<!-- Inspection 质量检测结束 -->

<!-- Packaging 包装-成卷 -->
{if $obj.category.0 eq '线圈'}
<section class="contentBox ">
  <div class="w100 btnBox flex-row justify-content-center">
    <a id="packaging" name="packaging" class="anchor">&nbsp;</a>
    <a href="#detail">Product Detail</a>
    <a href="#technical">Technical Information</a>
    <a href="#inspection">Inspection</a>
    <a href="#packaging" class="active">Packaging</a>
  </div>
  <div class="groupOne flex-row space-between package w960">
    <div>
      <img src="../img/quality/narrate4.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="线材捆扎示例">
      <h5>
        <?php echo translate('线材捆扎示例','zh',$toLan);?>
      </h5>
    </div>
    <div>
      <img src="../img/quality/narrate1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="成品标签示例">
      <h5>
        <?php echo translate('成品标签示例','zh',$toLan);?>
      </h5>
    </div>
    <div>
      <img src="../img/quality/narrate2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="卷材的卷绕方式">
      <h5>
        <?php echo translate('卷材的卷绕方式','zh',$toLan);?>
      </h5>
    </div>
  </div>
</section>
<!-- Packaging 包装-成卷 包装结束 -->

<!-- Packaging 包装-异形 -->
{else /}
<section class="contentBox ">
  <div class="w100 btnBox flex-row justify-content-center">
    <a id="packaging" name="packaging" class="anchor">&nbsp;</a>
    <a href="#detail">Product Detail</a>
    <a href="#technical">Technical Information</a>
    <a href="#inspection">Inspection</a>
    <a href="#packaging" class="active">Packaging</a>
  </div>
  <div class="w960">
    <div class="groupTwo gridBox space-between package">
      <div>
        <h4>1、
          <?php echo translate('成卷','zh',$toLan);?>
        </h4>
        <img src="../img/quality/narrate4.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="成卷">
        <h5>
          <?php echo translate('线索捆扎示例','zh',$toLan);?>
        </h5>
      </div>
      <div>
        <h4>2、
          <?php echo translate('长条状','zh',$toLan);?>
        </h4>
        <img src="../img/quality/narrate5.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="长条状">
        <h5>
          <?php echo translate('线索捆扎示例','zh',$toLan);?>
        </h5>
      </div>
      <div>
        <h4>3、
          <?php echo translate('外销木箱包装','zh',$toLan);?>
        </h4>
        <img src="../img/quality/narrate6.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="外销木箱包装">
        <h5>
          <?php echo translate('线索捆扎示例','zh',$toLan);?>
        </h5>
      </div>
      <div>
        <h4>4、
          <?php echo translate('装柜照片','zh',$toLan);?>
        </h4>
        <img src="../img/quality/narrate4-1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="装柜照片">
        <h5>
          <?php echo translate('装柜照片','zh',$toLan);?>
        </h5>
      </div>
      <div>
        <h4>5、
          <?php echo translate('产品防护细节','zh',$toLan);?>
        </h4>
        <img src="../img/quality/narrate5-1.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="产品防护细节">
        <h5>
          <?php echo translate('产品防护','zh',$toLan);?>
        </h5>
      </div>
      <div>
        <h4>5、
          <?php echo translate('产品防护细节','zh',$toLan);?>
        </h4>
        <img src="../img/quality/narrate5-2.jpg?x-oss-process=image/format,webp/quality,Q_75" alt="产品防护细节">
        <h5>
          <?php echo translate('产品防护','zh',$toLan);?>
        </h5>
      </div>
    </div>
  </div>
</section>
{/if}
<!-- Packaging 包装-异形 包装结束 -->

<!-- 公共外保证 -->
<section class="contentBox ">
  <div class="groupThree w960">
    <div class="title flex-row align-items-center">
      <h4>
        <?php echo translate('外包装示例','zh',$toLan);?>
      </h4>
      <i class="flex1"></i>
    </div>
    <div class="imgcontent flex1 ">
      <div class="imgBox1 flex-column center">
        <img class="img1" src="../img/quality/images1.png?x-oss-process=image/format,webp/quality,Q_75" alt="端面木板包装">
        <h5>
          <?php echo translate('端面木板包装','zh',$toLan);?>
        </h5>
      </div>
      <div class="imgBox2 flex-column center">
        <img class="img2" src="../img/quality/images2.png?x-oss-process=image/format,webp/quality,Q_75" alt="缠绕包装">
        <h5>
          <?php echo translate('缠绕包装','zh',$toLan);?>
        </h5>
      </div>
      <div class="imgBox3 flex-column center">
        <img class="img3" src="../img/quality/images4.png?x-oss-process=image/format,webp/quality,Q_75" alt="PP布袋套袋包装">
        <h5>
          <?php echo translate('PP布袋套袋包装','zh',$toLan);?>
        </h5>
      </div>
      <div class="imgBox4 flex-column center">
        <img class="img4" src="../img/quality/images3.png?x-oss-process=image/format,webp/quality,Q_75" alt="线架包装">
        <h5>
          <?php echo translate('线架包装','zh',$toLan);?>
        </h5>
      </div>
      <div class="imgBox5 flex-column center">
        <img class="img5" src="../img/quality/images5.png?x-oss-process=image/format,webp/quality,Q_75" alt="栈板包装">
        <h5>
          <?php echo translate('栈板包装','zh',$toLan);?>
        </h5>
      </div>
    </div>
  </div>
</section>
</div>
<!-- 公共外保证 -->
<div id="videoBox" style="display: none; width: 80vw; height: 45vw;">
  <iframe id="videoIframe" src="" title="Tensile strength test" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
  </iframe>
</div>
{include file="../application/api/view/layout/footer.html" /}
<script src="../js/html2canvas.min.js"></script>
<script>
  $('#videoIframe').attr({ width: document.documentElement.scrollWidth * 0.8, height: document.documentElement.scrollWidth * 0.4 })
  // 打印功能处理
  function doPrint(e) {
    e.preventDefault();
    html2canvas(document.getElementById('print-box'), {
      allowTaint: true,
      useCORS: true /*使用跨域*/
    }).then(function (canvas) {
      const pageData = canvas.toDataURL()
      var printWindow = window.open('', '_blank');
      var img = new Image();
      img.crossOrigin = '';
      img.onload = function () {
        // context.getImageData(0, 0, this.width, this.height);
        // 向新窗口发送HTML内容
        printWindow.document.write(`<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Print-Page</title></head>
          <body  style="margin:0;padding:0">
            <img src="${pageData}"  crossorigin="anonymous" alt="print" style="width: 100vw"; height: width: 100vh" />
              </body></html>
            `);

        // 打印新页面
        printWindow.print();
      };
      img.src = pageData;
    })
  }
  $(document.body).on('click', '#doPrint', doPrint)
  $(document.body).on('click', '#downloadPrint', doPrint)


  // 视频展示
  $(document.body).on('click', '.showModelBtn', function (e) {
    e.preventDefault();
    var showBox = dialog({
      title: '内容',
      content: $('#showBox')
    });
    if ($(e.target).attr('type') === 'video') {
      $('#showBoxVideoIframe').attr('src', $(e.target).attr('media'))
      $('#showBoxImg').hide()
      $('#showBoxVideoIframe').show()
    } else if ($(e.target).attr('type') === 'img') {
      $('#showBoxImg').attr('src', $(e.target).attr('media'))
      $('#showBoxVideoIframe').hide()
      $('#showBoxImg').show()
    } else {
      window.open($(e.target).attr('media'))
      return false
    }
    setTimeout(function () {
      showBox.showModal();
    }, 500)
  })

  $(document.body).on('click', '#wxBtn', function (e) {
    e.preventDefault();
    var WxDialog = dialog({
      title: '微信',
      content: $('#wxDialog')
    });
    setTimeout(function () {
      WxDialog.showModal();
    }, 500)
  })

  $(document.body).on('change', '.selectCoil', function (e) {
    var val = $('.selectCoil').find('option:selected').val()
    if (val == 'sharped') {
      $('#proSharp').show()
      $('#proCoil').hide()
    } else {
      $('#proSharp').hide()
      $('#proCoil').show()
    }
  })

  // 图片展示
  /* $(document.body).on('click', '.videoWrap a', function (e) {
    e.preventDefault();
    var videoBox = dialog({
      title: 'Video',
      content: $('#videoBox')
    });
    $('#videoIframe').attr('src', $(e.target).parents('a').attr('media'))
    setTimeout(function () {
      videoBox.showModal();
    }, 500)
  }) */
  window.onload = function () {
    var swiper = new Swiper(".mySwiper", {
      autoplay: true,
      loop: true, // 循环模式选项
      spaceBetween: 10,
      slidesPerView: 3,
      freeMode: true,
      watchSlidesProgress: true,
    });
    var swiper2 = new Swiper(".mySwiper2", {
      autoplay: true,
      loop: true, // 循环模式选项
      spaceBetween: 10,
      navigation: {
        nextEl: ".swiper-button-next",
        prevEl: ".swiper-button-prev",
      },
      thumbs: {
        swiper: swiper,
      },
    });
  }
</script>